Dynomotion

Group: DynoMotion Message: 9536 From: tmday7 Date: 5/26/2014
Subject: 4th axis feedrate
Hello,
 Finally getting 4th axis to where i can use it. But have a question on programmed feed rate.
When i program a G00 A90, A axis rotates to 90degrees at rapid feed rate.
But in order to do a G01 A 90 at maximum feed rate, i must program a feed of 5000 IPM. Other feedrates must be programmed really high also, unless i want wait for a few days for axis to rotate :)
What am i not understanding about the programed feed rate?

My setup....
Mach3 +KFLOP
4th axis is currently a 2:1 ratio.
2048 PPR encoder. Gecko G320X drive.
Mach3 motor settings- Steps Per. 4.272397057,Velocity 2500.2, Accel 100

Iam not sure about settings in C program as i was trying things to see if any changes happened.
Init C program snipet of 4th axis....
    ch3->InputMode=NO_INPUT_MODE;
    ch3->OutputMode=STEP_DIR_MODE;
    ch3->Vel=2500000;
    ch3->Accel=1000000;
    ch3->Jerk=9000;
    ch3->P=0;
    ch3->I=0.005;
    ch3->D=0;
    ch3->FFAccel=0;
    ch3->FFVel=0;
    ch3->MaxI=200;
    ch3->MaxErr=1e+006;
    ch3->MaxOutput=200;
    ch3->DeadBandGain=1;
    ch3->DeadBandRange=0;
    ch3->InputChan0=3;
    ch3->InputChan1=0;
    ch3->OutputChan0=11;
    ch3->OutputChan1=0;
    ch3->MasterAxis=-1;
    ch3->LimitSwitchOptions=0x0;
    ch3->InputGain0=1;
    ch3->InputGain1=1;
    ch3->InputOffset0=0;
    ch3->InputOffset1=0;
    ch3->OutputGain=1;
    ch3->OutputOffset=0;
    ch3->SlaveGain=1;
    ch3->BacklashMode=BACKLASH_OFF;
    ch3->BacklashAmount=0;
    ch3->BacklashRate=0;
    ch3->invDistPerCycle=1;
    ch3->Lead=0;
    ch3->MaxFollowingError=1000000000;
    ch3->StepperAmplitude=20;

    ch3->iir[0].B0=1;
    ch3->iir[0].B1=0;
    ch3->iir[0].B2=0;
    ch3->iir[0].A1=0;
    ch3->iir[0].A2=0;

    ch3->iir[1].B0=1;
    ch3->iir[1].B1=0;
    ch3->iir[1].B2=0;
    ch3->iir[1].A1=0;
    ch3->iir[1].A2=0;

    ch3->iir[2].B0=0.000769;
    ch3->iir[2].B1=0.001538;
    ch3->iir[2].B2=0.000769;
    ch3->iir[2].A1=1.92081;
    ch3->iir[2].A2=-0.923885;

Thanks,
Troy


Group: DynoMotion Message: 9547 From: Tom Kerekes Date: 5/26/2014
Subject: Re: 4th axis feedrate
Hi Troy,

I think that is really more of a Mach3 question.  

But I think the way Mach3 works is that for a move with only A then the feedrate is in degrees/min which would need to be a number like F2500.

Also for moves involving X and A the Feedrate is normally also based on A only and the feedrate is also in degrees/min.

But Mach3 has an option to convert angular motion to a distance based on a Radius.   To do that under Config | Tool Path | Set Use Radius for feed Rate.  Then on the Settings Page set a A Rotation Radius.  Setting a smaller radius will cause the rotation to be faster as the FeedRate is then in linear distance per minute.

I found this post:

http://www.machsupport.com/forum/index.php?topic=15032.0

HTH
Regards
TK



Group: DynoMotion Message: 9550 From: tmday7 Date: 5/27/2014
Subject: Re: 4th axis feedrate
Ahh, ok. Thought i had something wrongly configured. Thanks for answering.
Can you remind me again or point me to the documentation of the best way to set my 4th axis motor config for
Step Dir Mode?

Thanks,
Troy

---In DynoMotion@yahoogroups.com, <tk@...> wrote :

Hi Troy,

I think that is really more of a Mach3 question.  

But I think the way Mach3 works is that for a move with only A then the feedrate is in degrees/min which would need to be a number like F2500.

Also for moves involving X and A the Feedrate is normally also based on A only and the feedrate is also in degrees/min.

But Mach3 has an option to convert angular motion to a distance based on a Radius.   To do that under Config | Tool Path | Set Use Radius for feed Rate.  Then on the Settings Page set a A Rotation Radius.  Setting a smaller radius will cause the rotation to be faster as the FeedRate is then in linear distance per minute.

I found this post:

http://www.machsupport.com/forum/index.php?topic=15032.0

HTH
Regards
TK